import React, { Component } from 'react'
import { changeNotificationsReadStatus } from '../../actions/notifications'
import { connect } from 'react-redux'

@connect(
  null,
  { changeNotificationsReadStatus }
)
export default class Details extends Component {
  componentDidMount() {
    this.props.changeNotificationsReadStatus(this.props.match.params.id)
  }
  render() {
    return <div>通知详情</div>
  }
}
